package com.itheima.mall.api.sms;

import com.itheima.mall.pojo.sms.SmsFlashPromotion;
import com.itheima.mall.vo.PageResult;
import com.itheima.mall.vo.R;

import java.util.List;

public interface SmsFlashPromotionServiceApi {
   PageResult<SmsFlashPromotion> getList(String keyword, int pageNum, int pageSize);

    void updateStatus(int id,int status);
    //编辑活动
    void editActivity(SmsFlashPromotion smsFlashPromotion, Long id);
    //添加活动
    void addActivity(SmsFlashPromotion smsFlashPromotion);
    //删除活动
    void deleteActivity(Integer id);
}
